﻿using System.Collections.Generic;
using BoldBrick.OneIntranet.HR.Properties;
using BoldBrick.SharePoint.CommonControls.DataObjects.Base;

namespace BoldBrick.OneIntranet.HR.DataObjects.ContentTypes.CandidatesContentTypes
{
	/// <summary>
	/// Metadata class of "CV Document" content type
	/// </summary>
	public class CVDocumentContentType : BaseContentType
	{
		protected override string GetContentTypeID()
		{
			return Settings.Default.ContentType_CVDocument_ID;
		}

		protected override string GetNameResourceKey()
		{
			return "ContentType_CVDocument_Name";
		}

		protected override string GetDescriptionResourceKey()
		{
			return "ContentType_CVDocument_Description";
		}

		public override List<ListColumn> GetListColumns()
		{
			List<ListColumn> listColumns = new List<ListColumn>
			                               	{
												SharePoint.CommonControls.DataObjects.SiteColumns.TitleColumn,
			                               		SiteColumns.DocumentTypeLookupColumn, 
												SiteColumns.LanguageLookupColumn
			                               	};

			return listColumns;
		}
		
	}
}
